package types

import "fmt"

func Pointer() {
	var i int = 10
	fmt.Println("i 的地址", &i)

	var ptr *int = &i
	fmt.Println(&ptr, ptr, *ptr)
	*ptr = 20
	fmt.Println(i)
}
